# 最低版本要求
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)

# 项目名称
PROJECT(live555)

# 配置vsocdedebug
add_definitions(-std=c++11)
add_definitions(-fpermissive)
add_definitions(-fPIC)
add_definitions(-D NO_OPENSSL)

INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/BasicUsageEnvironment/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/groupsock/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/liveMedia/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/UsageEnvironment/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/BasicUsageEnvironment/include)

set(cmake_build_type "Debug")
set(cmake_cxx_flage_debug "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb")
set(cmake_cxx_flags_release "$ENV{CXXFLAGS} -03 -Wall")


# 添加子目录
ADD_SUBDIRECTORY(./UsageEnvironment)
ADD_SUBDIRECTORY(./BasicUsageEnvironment)
ADD_SUBDIRECTORY(./groupsock)
ADD_SUBDIRECTORY(./liveMedia)


